package com.gsy.service.impl;

import com.gsy.entity.UserEntity;
import com.gsy.mapper.UserMapper;
import com.gsy.service.UserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author gsy
 * @since 2022-03-03
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, UserEntity> implements UserService {

    @Override
    public boolean addBatch(ArrayList<UserEntity> userEntities) {
        return this.saveBatch(userEntities);
    }
}
